package com.example.demo.entity;

import java.util.Date;

/**
 * demo实体类
 * @author kecc
 * @date   2018-11-29
 */
public class Demo {
	
	/**主键*/
	private long id;
	/**姓名*/
	private String name;
	/**年龄*/
	private int age;
	/**电话号码*/
	private String mobile;
	/**地址*/
	private String address;
	/**生日*/
	private Date birthday;
	/**创建时间*/
	private Date gmtCreate;
	/**修改时间*/
	private Date gmtModify;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	@Override
	public String toString() {
		return "Demo [id=" + id + ", name=" + name + ", age=" + age
				+ ", mobile=" + mobile + ", address=" + address + ", birthday="
				+ birthday + ", gmtCreate=" + gmtCreate + ", gmtModify="
				+ gmtModify + "]";
	}
	
	/**起始位置*/
	private int limitStart;
	/**结束位置*/
	private int limitEnd;

	public int getLimitStart() {
		return limitStart;
	}
	public void setLimitStart(int limitStart) {
		this.limitStart = limitStart;
	}
	public int getLimitEnd() {
		return limitEnd;
	}
	public void setLimitEnd(int limitEnd) {
		this.limitEnd = limitEnd;
	}
	
}
